<?php

defined('BASEPATH') or die('forbidden');

/**
 * 首页
 * @author  Karson
 * @name    index.php
 * @since  2013-7-24 22:36:13
 */
class Index_Controller extends Controller {

    function index() {
        if (check_login()) {
            go("/user/");
        } else {
            $this->view->display("user/login");
        }
    }

}